rcar_gen3: drivers: pfc: H3: Drop pfc_reg_write() forward declaration
authorMarek Vasut <[email protected]>
Mon, 17 Jun 2019 16:51:40 +0000 (18:51 +0200)
committerMarek Vasut <[email protected]>
Sat, 22 Jun 2019 15:32:44 +0000 (17:32 +0200)
There's no point in having forward declaration just before the function
itself, drop it. No functional change.

Signed-off-by: Marek Vasut <[email protected]>
Change-Id: I56125389fa6fe3ae169cacdb0e4b60376f0a6489

drivers/staging/renesas/rcar/pfc/H3/pfc_init_h3_v1.c
drivers/staging/renesas/rcar/pfc/H3/pfc_init_h3_v2.c

index 952cc6b74373748e1329b805f08942c4d5008e3c..7287c833915a1c0d2f4ec78544b3ca5d09eb1c64 100644 (file)
 #define MOD_SEL2_VIN4_A                ((uint32_t)0U << 0U)
 #define MOD_SEL2_VIN4_B                ((uint32_t)1U << 0U)
 
-static void pfc_reg_write(uint32_t addr, uint32_t data);
-
 static void pfc_reg_write(uint32_t addr, uint32_t data)
 {
        mmio_write_32(PFC_PMMR, ~data);
index e5d8bfed82e76f56553840d200eee1402c5aa1dc..8bba3c150687079b1812ab5785be13350e085847 100644 (file)
 #define MOD_SEL2_VIN4_A                ((uint32_t)0U << 0U)
 #define MOD_SEL2_VIN4_B                ((uint32_t)1U << 0U)
 
-static void pfc_reg_write(uint32_t addr, uint32_t data);
-
 static void pfc_reg_write(uint32_t addr, uint32_t data)
 {
        mmio_write_32(PFC_PMMR, ~data);